package org.levi.demo.componet;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class MyProperty {

    @Value("${user.name}")
    private String name;

    public String getName(){
        return this.name;
    }
}
